package com.itheima.config;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;


//标志该类是Spring的核心配置类
@Configuration
//<!--配置组件扫描--><context:component-scan base-package="com.itheima"></context:component-scan>
@ComponentScan("com.itheima")
//import
@Import(DataSourceConfig.class)
public class SpringConfig {

}
